const express = require('express');
const app = express();
const router = require('./router')
// post 请求配置
const bodyParser = require('body-parser');

app.use(bodyParser.urlencoded({
    extended:true
}))
app.use('/api',router)


app.listen(3888,()=>{
    console.log(3888);
})